package com.baway.image.picasso

//import android.graphics.Color
//import android.graphics.drawable.ColorDrawable
//import android.widget.ImageView
//import com.squareup.picasso.Picasso
//import jp.wasabeef.picasso.transformations.CropCircleTransformation

/**
 * Author: Jason Zhang
 * Date: 2025/8/21
 * Desc: Picasso图片加载工具（Glide的前身，基本相同）
 */
object PicassoImgLoader {

//    fun loadUrlImage(url: String, iv: ImageView){
//        Picasso.get().load(url)
//            .placeholder(ColorDrawable(Color.GRAY))
//            .error(ColorDrawable(Color.YELLOW))
//            .centerCrop()
//            .transform(CropCircleTransformation())
//            .into(iv)
//    }


}